<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>navbar</title>
</head>
<body>

<!--
用法:
<div th:insert="~{ /common/common_loading:: loading}"></div>
默认找的就是templates下面的路径
-->
<div th:fragment="loading">
    <!--模态框loading-->
    <div class="modal fade" id="loading" data-backdrop="static" data-keyboard="false"
         tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
        <div class="modal-dialog" role="document">
            <div class="loading">
                <span></span>
                <span></span>
                <span></span>
                <span></span>
                <span></span>
            </div>
        </div>
    </div>
    <!--模态框loading-->
</div>

</body>
</html>